function setLocal (ob:object, key:string) {
    localStorage.setItem(key,JSON.stringify(ob))
}
function getLocal (key:string){
    return JSON.parse(localStorage.getItem(key))
}

export default {
    setLocal,
    getLocal
}